Skip to content

fchub-portal-extender: close the nanoid advisory - #118

Merged
vcode-sh merged 1 commit into
mainfrom
fix/portal-extender-nanoid
Aug 7, 2026
Merged

fchub-portal-extender: close the nanoid advisory#118
vcode-sh merged 1 commit into
mainfrom
fix/portal-extender-nanoid

Conversation

@vcode-sh

@vcode-sh vcode-sh commented Aug 7, 2026

Copy link
Copy Markdown
Owner

A new high-severity advisory landed after tonight's merges: GHSA-2v37-7h3g-55p8, nanoid below 3.3.17.

It was not reachable by bumping a direct dependency. nanoid sits underneath postcss, which this package pins to an exact 8.5.23 in overrides — so the pin that was there to control one thing was holding back another. Moving the override to 8.5.26 resolves nanoid to 3.3.18.

npm audit: 1 high → 0.

The bundle rebuilds, so the committed assets/dist/ hashes churn. Safe: AdminMenu.php resolves entries through assets/dist/.vite/manifest.json at runtime rather than hardcoding names, and the regenerated manifest still carries both the resources/admin/main.js entry and the style.css fallback it reads.

The same advisory raised four alerts against fchub-stream. Those are dismissed as not_used — discontinued, not built, not released.

GHSA-2v37-7h3g-55p8, high. nanoid arrived at 3.3.16 underneath postcss,
which this package pins to an exact 8.5.23 in overrides — so the fix was
not reachable by bumping anything directly depended on. Moving the
override to 8.5.26 pulls nanoid to 3.3.18. npm audit goes 1 high to 0.

Bundle rebuilt, hashes churn. The enqueue resolves entries through
assets/dist/.vite/manifest.json at runtime, and the manifest still has
both the entry and the style.css fallback AdminMenu.php reads.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@claude

claude Bot commented Aug 7, 2026

Copy link
Copy Markdown

Review Summary

Minimal, correct security fix. The postcss override in overrides moves from 8.5.23 to 8.5.26; the lock file resolves consistently to postcss@8.5.26 and nanoid@3.3.18, closing GHSA-2v37-7h3g-55p8. No PHP files touched, no user-facing behaviour changed — no version bump needed.

Issues: 0 blocking, 0 suggestions, 1 nit

The committed assets/dist/ files are still at their pre-bump hashes. The PR description explains a rebuild would churn them and says that's safe (manifest is resolved at runtime), but the rebuilt artifacts aren't included in the diff. That's fine for closing the advisory — future builds will use the fixed nanoid — but if the convention is to keep committed dist in sync with the lock file, a follow-up rebuild commit would tidy it up.

@vcode-sh
vcode-sh merged commit ea65530 into main Aug 7, 2026
22 checks passed
@vcode-sh
vcode-sh deleted the fix/portal-extender-nanoid branch August 7, 2026 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant